<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
  <title>Football Game</title>
<!-- START:stylesheet -->
  <%= stylesheet_link_tag "football_game", :media => "all" %><!-- <label id="code.slt"/> -->
<!-- END:stylesheet -->
</head>
<body id="store">
  <div id="banner">
    <%= image_tag("football_superstars.jpg") %>
    <%= @page_title || "Fooball Game" %><!-- <label id="code.depot.e.title"/> -->
  </div>
  <div id="columns">
    <div id="side">
      <%= link_to 'Home', :controller => 'home' %><br />
      <a href="http://www..../faq">Questions</a><br />
      <a href="http://www..../news">News</a><br />
      <a href="http://www..../contact">Contact</a><br />
	  <% if session[:user] %>
		<br \>
		<%= link_to 'Logout', :controller => 'admin', :action => 'logout' %><br />
		<% if session[:user].name == "Brett" %>
			<%= link_to 'Users', users_path %><br />
			<%= link_to 'Players', players_path %><br />
		<% end %>
	  <% else %>
		<br \>
		<%= link_to 'Login', :controller => 'admin', :action => 'login' %>
	  <% end %>
    </div>
    <div id="main">
	  <% if flash[:notice] -%>
		<div id="notice"><%= flash[:notice] %></div>
	  <% end -%>
      <%= yield :layout %><!-- <label id="code.depot.e.include"/> -->
    </div>
  </div>
</body>
</html>